// @import '../index.less';

.processTodo {
  // position: relative;
  height: calc(100% - 146px);
  margin-top: 10px;
  padding-bottom: 60px;
  overflow: auto;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
    width: 0;
  }

  .toDoContainer {
    margin-bottom: 12px;
    border-radius: 0;

    .processTitle {
      flex: 1;
      overflow: hidden;
      color: #333;
      color: var(--inbiz-color-heading);
      font-size: 16px;
      line-height: 18px;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .cardHeader,
    .cardBody,
    .cardFooter {
      display: flex;
      align-items: center;

      p {
        margin: 0;
        font-size: 12px;
      }
    }

    .cardHeader {
      padding: 0 25px;

      >p {
        flex: 1;
        overflow: hidden;
      }

      .userName {
        overflow: hidden;
        color: var(--inbiz-color-text);
        font-weight: bold;
        font-size: 14px;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .summary {
        width: 100%;
        color: var(--inbiz-color-text);
        font-size: 12px;
      }
    }

    .cardBody {
      justify-content: space-between;
      height: 30px;
      margin-top: 10px;
      padding: 0 25px;
      color: #707070;
      color: var(--inbiz-color-text);
      line-height: 30px;
    }

    .cardFooter {
      justify-content: space-between;
      height: 40px;
      padding: 0 25px;
      color: #707070;
      color: var(--inbiz-color-text);
      line-height: 40px;
      border-top: 1px solid #f6f6f6;

      >p:first-child {
        color: var(--inbiz-color-primary) !important;
      }
    }

    .adm-card-header {
      padding: 12px 25px;
    }

    .adm-card-body {
      padding: 0;
    }

    .adm-card-header-title {
      overflow: hidden;
      font-size: 16px;

      >div {
        display: flex;
        align-items: center;
      }
    }

    .adm-card-header:not(:last-child) {
      border-bottom: none;
    }
  }

  .loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.1);
  }

  .adm-infinite-scroll span {
    color: var(--inbiz-color-text);
    font-size: 12px;
  }
}

.process-center-h5-assign-popup {
  .adm-nav-bar {
    height: 52px;
  }

  .adm-nav-bar-back-arrow {
    font-size: 16px;
  }

  .adm-nav-bar-title {
    color: var(--inbiz-color-heading) !important;
    font-size: 16px !important;
  }

  .adm-list .adm-list-item {
    height: 52px;
    padding: 0;

    .adm-list-item-content {
      padding-left: 12px;
    }
  }

  .adm-list .adm-list-item-content-main {
    height: 51px;
    padding: 0;
    color: var(--inbiz-color-text);
    font-size: 16px !important;
    line-height: 51px;
  }

  .adm-nav-bar-back a {
    color: var(--inbiz-color-primary) !important;
    font-size: 16px;
  }
}